import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import './styles/tailwind.css'
import { setupNaive } from './plugins'
import { setupStore } from './store'

async function bootstrap() {
    const app = createApp(App)
    // 引入 naive ui
    setupNaive(app)
    // 引入 pinia 作为存储
    setupStore(app)
    app.mount('#app')
}

// void 强调该函数不会有任何的返回
void bootstrap()
